<?php
include_once("../c/config.php");
$mysqli = new mysqli($dbhost, $dbuser, $dbpwd, $dbName);
//GRANT ALL ON *.* TO root@'%' IDENTIFIED BY '' WITH GRANT OPTION;  
$daAn=array();
$sql="select * from ti where step=3; ";
$query=$mysqli->query($sql);
while ($list=$query->fetch_assoc()){
    echo $list['id'],"&nbsp;&nbsp;",$list['dan'];
    echo "&nbsp;&nbsp;&nbsp;&nbsp;";
    $getDanB=explode(',', $list['dan']);
    echo count($getDanB);
    echo ',.....';
    var_dump($getDanB);
    
    echo "<br /><br />";
}
 
